package com.plpm.dto;

/**
 * 文件验证结果
 * 用于服务层内部传递文件验证的结果信息
 *
 * @author PLPM Team
 * @version 1.0
 */
public class FileValidationResult {
    private final boolean valid;
    private final String reason;

    public FileValidationResult(boolean valid, String reason) {
        this.valid = valid;
        this.reason = reason;
    }

    public boolean isValid() {
        return valid;
    }

    public String getReason() {
        return reason;
    }
}

